//
//  ApprovedView.m
//  YuanCheng
//
//  Created by dongshangtong on 16/4/6.
//  Copyright © 2016年 dongshangtong. All rights reserved.
//

#import "ApprovedView.h"
#import "UIImageView+WebCache.h"


@interface ApprovedView()
@property (weak, nonatomic) IBOutlet UIImageView *certificateImageView;

@property (weak, nonatomic) IBOutlet UILabel *noteLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;


@end

@implementation ApprovedView



-(void)awakeFromNib
{
    [super awakeFromNib];
    
    _noteLabel.textColor = GreenColor;
    _titleLabel.textColor = GreenColor;
    _subTitleLabel.textColor = GreenColor;
//    NSString *strUrl =[YCUrlManager sharedInstance].getZsPicUrl;
    
    
    NSUserDefaults *def=  [NSUserDefaults standardUserDefaults];
    NSString *expert_id= [def objectForKey:KEXPERTID];
    
    NSString *strUrl = [NSString stringWithFormat:@"%@?expert_id=%@&yw_id=%@",kGetZsPicUrl,expert_id,yw_id];
    NSURL *url = [NSURL URLWithString:strUrl];

    
    
    [self.certificateImageView sd_setImageWithURL:url placeholderImage:
    [UIImage imageNamed:@"certificate"]];

}

@end
